package demo04.mapper;

import demo04.pojo.User;
import org.springframework.stereotype.Component;

import java.util.List;

//@Component
public interface IUserMapper {
    int insert(User user);

    User selectByUsername(String username);

    int update(User user);
    List<User> selectAll();
}
